package C05D;

public abstract class MilkTea {
    public void prepareMilkAndTea() {
        System.out.println("准备牛奶与茶叶");
    }
    public abstract void addIngredients();
    public void pack() {
        System.out.println("封闭打包");
    }
    public final void makeMilkTea() {
        prepareMilkAndTea();
        addIngredients();
        pack();
    }

}
